package com.qs.education.service.impl;

import org.springframework.stereotype.Service;

import com.qs.education.bean.api.PageBean;
import com.qs.education.bean.api.ResponseListBean;
import com.qs.education.bean.beans.EducationGroupBean;
import com.qs.education.bean.beans.EducationGroupResponse;
import com.qs.education.bean.service.BaseService;
import com.qs.education.service.IGroupService;

/**
 * 
 * @class GroupServiceImpl
 * @author Jason
 * @description
 * @date Nov 14, 2018 9:46:04 AM
 */
@Service
public class GroupServiceImpl extends BaseService implements IGroupService{

	@Override
	public PageBean getGroupList(String schoolName, Integer currentPage, Integer pageSize) {
		
		return apiCaller.getAllGroup(schoolName,currentPage,pageSize);
	}

	@Override
	public EducationGroupResponse findGroup(Long groupId) {
		
		return apiCaller.searchGroupById(groupId);
	}

	

}
